﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Finance.Domain
{
    /// <summary>
    /// 收款管理表
    /// </summary>
    /// 
    [SugarTable("FinanceReceive")]
    public class Receive:Basic
    {
        /// <summary>
        /// 客户名称
        /// </summary>
        public int CustomerId {  get; set; }
        /// <summary>
        /// 收款金额
        /// </summary>
        public decimal ReceiptAmount { get; set; }

        /// <summary>
        /// 收款账户名称
        /// </summary>
        public string? ReceiptAccount {  get; set; }

        /// <summary>
        /// 是否开发票
        /// </summary>
        public int IsInvoice {  get; set; }
        /// <summary>
        /// 收款日期
        /// </summary>
        public DateTime AdvanceDate {  get; set; }

        /// <summary>
        /// 收款人员
        /// </summary>
        public string AdvancePerson {  get; set; }

        /// <summary>
        /// 关联项目
        /// </summary>
        public string? RelatedProject {  get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks {  get; set; }

    }
}
